package cn.bouncyslime.graduationProject.nba.dto;

import org.springframework.stereotype.Component;

/**
 * 作者： 张一卓
 * 时间： 2020/3/27 17:53
 */
@Component
public class TeamDto {
    /**
     * 球队英文简称（作为球队ID）
     */
    private String teamId;
    /**
     * 球队英文名
     */
    private String teamEName;
    /**
     * 球队中文名
     */
    private String teamCName;
    /**
     * 分部：东部，西部
     */
    private String branch;
    /**
     * 分区：东南区、中区、大西洋区、太平洋区、西北区、西南区
     */
    private String subarea;

    /**
     * 是否历史球队，0否，1是
     */
    private Integer isHistory;

    public TeamDto() {
    }

    public TeamDto(String teamId, String teamEName, String teamCName, String branch, String subarea, Integer isHistory) {
        this.teamId = teamId;
        this.teamEName = teamEName;
        this.teamCName = teamCName;
        this.branch = branch;
        this.subarea = subarea;
        this.isHistory = isHistory;
    }

    public String getTeamId() {
        return teamId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    public String getTeamEName() {
        return teamEName;
    }

    public void setTeamEName(String teamEName) {
        this.teamEName = teamEName;
    }

    public String getTeamCName() {
        return teamCName;
    }

    public void setTeamCName(String teamCName) {
        this.teamCName = teamCName;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getSubarea() {
        return subarea;
    }

    public void setSubarea(String subarea) {
        this.subarea = subarea;
    }

    public Integer getIsHistory() {
        return isHistory;
    }

    public void setIsHistory(Integer isHistory) {
        this.isHistory = isHistory;
    }

    @Override
    public String toString() {
        return "TeamDto{" +
                "teamId='" + teamId + '\'' +
                ", teamEName='" + teamEName + '\'' +
                ", teamCName='" + teamCName + '\'' +
                ", branch='" + branch + '\'' +
                ", subarea='" + subarea + '\'' +
                '}';
    }
}
